package com.jinglin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.*;
import org.apache.ibatis.type.BlobTypeHandler;
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
@Data
public class User {
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("nickname")
    private String nickname;
    @TableField("email")
    private String email;
    @TableField(value = "user_pic")
    private String user_pic;
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;

}
